package com.onlineMIS.ORM.entity.headQ.barcodeGentor;

import com.onlineMIS.ORM.entity.chainS.user.ChainStore;

public class BrandVO {
	
    private int brand_ID;
    private String brand_Name;
    private String brand_Code;
    private String supplier;
    private String pinyin;
    private String chain_name;
    private String comment = "";
    private String belong_To;
    
    
    
    
	public BrandVO(Brand brand) {
		super();
		this.brand_ID = brand.getBrand_ID();
		this.brand_Name = brand.getBrand_Name();
		this.brand_Code = brand.getBrand_Code();
		this.supplier = brand.getSupplier();
		this.pinyin = brand.getPinyin();
		if (brand.getChainStore() !=null) {
			this.chain_name = brand.getChainStore().getChain_name();
		}		
		this.comment = brand.getComment();
		this.belong_To = brand.belongToMap.get(brand.getBelong_To());
	}
	public int getBrand_ID() {
		return brand_ID;
	}
	public void setBrand_ID(int brand_ID) {
		this.brand_ID = brand_ID;
	}
	public String getBrand_Name() {
		return brand_Name;
	}
	public void setBrand_Name(String brand_Name) {
		this.brand_Name = brand_Name;
	}
	public String getBrand_Code() {
		return brand_Code;
	}
	public void setBrand_Code(String brand_Code) {
		this.brand_Code = brand_Code;
	}
	public String getSupplier() {
		return supplier;
	}
	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}
	public String getPinyin() {
		return pinyin;
	}
	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	public String getChain_name() {
		return chain_name;
	}
	public void setChain_name(String chain_name) {
		this.chain_name = chain_name;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getBelong_To() {
		return belong_To;
	}
	public void setBelong_To(String belong_To) {
		this.belong_To = belong_To;
	}
	
    

}
